const mongoose = require("mongoose");
const modelSchema = new mongoose.Schema(
  {
    name: {
      type: String,
    },
    desc: {
      type: String,
      default: "",
    },
    age: {
      type: Number,
      default: 16,
    },
    coverImage: {
      type: String,
      default: "",
    },
  },
  {
    timestamps: true,
  }
);

const Model = mongoose.model("person", modelSchema);

module.exports = Model;
